package com.iad.controller.event {
	
	
	import flash.events.Event;
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import mx.core.UIComponent;

	public class SiteEvent extends CairngormEvent {
		
		public static const NEW_SITE:String = "newSite";
		public static const GET_SITE:String = "getSite";
		public static const GET_SITE_BY_LABEL:String = "getSiteByLabel";
		public static const GET_SITES:String = "getSites";
		public static const UPDATE_SITE_PROFILE:String = "updateSiteProfile";
		public static const GET_SITE_VIDEOS:String = "getSiteVideos";
		public static const SUBMIT_REVIEW:String = "submitReview";
		public static const MODERATE_REVIEWS:String = "moderateReviews";
		public static const APPROVE_REVIEWS:String = "approveReviews";
		public static const DO_LOGIN:String = "doLogin";
		
    [Bindable]
    public var object:Object;
    
    public function SiteEvent(type:String, obj:Object, bubbles:Boolean=false, cancelable:Boolean=false) {
      super(type, bubbles, cancelable);
      this.object = obj;
    }
	}
}